Skip to contentSkip to conversation

About FRU

DISCUSSION Wang, Kuiying 2 participants 3 messages May 27, 2020

lore
Share & tools
lore
#0 lore raw

Hi Harley,
You could add json configuration file for your device into entity-manager as below:
https://github.com/openbmc/entity-manager/tree/master/configurations

Thanks,
Kwin.

Hello everyone,

My motherboard has an EEPROM device to store FRU related information. How can I configure it in the openbmc configuration file to see this FRU information through the ipmitool fru print command?

Are there some examples to provide reference, I did not find a place to configure the eeprom device in the openbmc project?

Is there any documentation about FRU indicating that the module reads and parses information from eeprom, and then it can be read by the ipmitool fru print command? What is the process like?

Thanks
Harley

#1 lore raw

Hi

My project uses phosphor-fru, and a phosphor-read-eeprom is generated during compilation. I think when openbmc starts, phosphor-read-eeprom will read the configuration information of eeprom from a configuration file (such as i2c channel number, i2c address), and then read FRU information from eeprom. If the entity-manager module is used,add json configuration file for my device into entity-manager. then I use the phoshor-fru method, in which configuration file should I configure the eeprom information?

phosphor-read-eeprom will exits after reading the eeprom information, so how is the FRU information read to the IPMI process?

Thanks
Harley

________________________________
发件人: Wang, Kuiying <[email protected]>
发送时间: 2020年5月27日 15:58
收件人: [email protected] <[email protected]> 抄送: [email protected] <[email protected]> 主题: RE: About FRU

Hi Harley,

You could add json configuration file for your device into entity-manager as below:

https://github.com/openbmc/entity-manager/tree/master/configurations

Thanks,

Kwin.

Hello everyone,

My motherboard has an EEPROM device to store FRU related information. How can I configure it in the openbmc configuration file to see this FRU information through the ipmitool fru print command?

Are there some examples to provide reference, I did not find a place to configure the eeprom device in the openbmc project?

Is there any documentation about FRU indicating that the module reads and parses information from eeprom, and then it can be read by the ipmitool fru print command? What is the process like?

Thanks

Harley

#2 lore raw

Entity-manage exposed FRU into dbus.
Could get them from dbus properties like below:

root@intel-obmc:~# busctl tree --no-pager xyz.openbmc_project.FruDevice
`-/xyz
  `-/xyz/openbmc_project
    `-/xyz/openbmc_project/FruDevice
      |-/xyz/openbmc_project/FruDevice/PSSF132202A
      `-/xyz/openbmc_project/FruDevice/S2600WFT
root@intel-obmc:~# busctl introspect --no-pager xyz.openbmc_project.FruDevice /xyz/openbmc_project/FruDevice/PSSF132202A
NAME                                TYPE      SIGNATURE RESULT/VALUE                        FLAGS
.Common_Format_Version              property  s         "1"                                 emits-change
.PRODUCT_LANGUAGE_CODE              property  s         "25"                                emits-change
.PRODUCT_MANUFACTURER               property  s         "xxxxx., LTD.                  " emits-change
.PRODUCT_PART_NUMBER                property  s         "xxxxxxxx"                        emits-change
.PRODUCT_PRODUCT_NAME               property  s         "Pxxxxx02A"                       emits-change
.PRODUCT_SERIAL_NUMBER              property  s         "CNSxxxxx0279"                 emits-change
.PRODUCT_VERSION                    property  s         "00A"                               emits-change

Thanks,
Kwin.

From: 周 远清 [mailto:[email protected]]
Sent: Wednesday, May 27, 2020 4:33 PM
To: Wang, Kuiying <[email protected]>; Vijay Khemka <[email protected]>
Cc: [email protected]
Subject: 回复: About FRU

Hi

My project uses phosphor-fru, and a phosphor-read-eeprom is generated during compilation. I think when openbmc starts, phosphor-read-eeprom will read the configuration information of eeprom from a configuration file (such as i2c channel number, i2c address), and then read FRU information from eeprom. If the entity-manager module is used,add json configuration file for my device into entity-manager. then I use the phoshor-fru method, in which configuration file should I configure the eeprom information?

phosphor-read-eeprom will exits after reading the eeprom information, so how is the FRU information read to the IPMI process?

Thanks
Harley

________________________________
发件人: Wang, Kuiying <[email protected]<mailto:[email protected]>>
发送时间: 2020年5月27日 15:58
收件人: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> 抄送: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> 主题: RE: About FRU

Hi Harley,

You could add json configuration file for your device into entity-manager as below:

https://github.com/openbmc/entity-manager/tree/master/configurations

Thanks,

Kwin.

Hello everyone,

My motherboard has an EEPROM device to store FRU related information. How can I configure it in the openbmc configuration file to see this FRU information through the ipmitool fru print command?

Are there some examples to provide reference, I did not find a place to configure the eeprom device in the openbmc project?

Is there any documentation about FRU indicating that the module reads and parses information from eeprom, and then it can be read by the ipmitool fru print command? What is the process like?

Thanks

Harley